<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Internal flags (GNU Compiler Collection (GCC) Internals)</title>

<meta name="description" content="Internal flags (GNU Compiler Collection (GCC) Internals)">
<meta name="keywords" content="Internal flags (GNU Compiler Collection (GCC) Internals)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Option-Index.html" rel="index" title="Option Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="LTO.html" rel="up" title="LTO">
<link href="WHOPR.html" rel="prev" title="WHOPR">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
ul.mark-bullet {list-style-type: disc}
-->
</style>


</head>

<body lang="en">
<div class="section-level-extent" id="Internal-flags">
<div class="nav-panel">
<p>
Previous: <a href="WHOPR.html" accesskey="p" rel="prev">Whole program assumptions, linker plugin and symbol visibilities</a>, Up: <a href="LTO.html" accesskey="u" rel="up">Link Time Optimization</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h3 class="section" id="Internal-flags-controlling-lto1"><span>25.5 Internal flags controlling <code class="code">lto1</code><a class="copiable-link" href="#Internal-flags-controlling-lto1"> &para;</a></span></h3>

<p>The following flags are passed into <code class="command">lto1</code> and are not
meant to be used directly from the command line.
</p>
<ul class="itemize mark-bullet">
<li><a class="index-entry-id" id="index-fwpa"></a>
-fwpa
This option runs the serial part of the link-time optimizer
performing the inter-procedural propagation (WPA mode).  The
compiler reads in summary information from all inputs and
performs an analysis based on summary information only.  It
generates object files for subsequent runs of the link-time
optimizer where individual object files are optimized using both
summary information from the WPA mode and the actual function
bodies.  It then drives the LTRANS phase.

</li><li><a class="index-entry-id" id="index-fltrans"></a>
-fltrans
This option runs the link-time optimizer in the
local-transformation (LTRANS) mode, which reads in output from a
previous run of the LTO in WPA mode.  In the LTRANS mode, LTO
optimizes an object and produces the final assembly.

</li><li><a class="index-entry-id" id="index-fltrans_002doutput_002dlist"></a>
-fltrans-output-list=<var class="var">file</var>
This option specifies a file to which the names of LTRANS output
files are written.  This option is only meaningful in conjunction
with <samp class="option">-fwpa</samp>.

</li><li><a class="index-entry-id" id="index-fresolution"></a>
-fresolution=<var class="var">file</var>
This option specifies the linker resolution file.  This option is
only meaningful in conjunction with <samp class="option">-fwpa</samp> and as option
to pass through to the LTO linker plugin.
</li></ul>

</div>



</body>
</html>
